@import './base.css';

#app {
  /* max-width: 1280px;*/
  width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  font-weight: normal;
}
button{
  border-radius: 10px;
  border: 0px;
  width: 70px;
  height: 30px;
  margin-bottom: 10px;
  box-shadow: 3px 4px 5px 0px rgb(79, 79, 79);
}
button:hover{
  margin-left: 10px;
  /* box-shadow: 0px 0px 0px 0px; */
  background-color: hsla(160, 100%, 37%, 0.2);
  
}
button:active{
  background-color: hsla(0, 0%, 0%, 0.2);
}
button:focus{
  background-color: hsla(0, 0%, 0%, 0.2);
  margin-left: 10px;
}
a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    /* background-color: hsla(160, 100%, 37%, 0.2); */
  }
}

@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: center;
  }

  #app {
    display: grid;
    /* 网格容器 */
    grid-template-columns: 300px 1fr;
    padding: 0 2rem;
  }
}
